package com.ruoyi.app.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel("线下还款接口实体")
public class OfflineReq {

    @ApiModelProperty("电话号码")
    @NotBlank(message = "电话号码不能为空")
    private String phoneNumber;

    @ApiModelProperty("支付时间")
    @NotBlank(message = "支付时间不能为空")
    private Date payTime;

    @ApiModelProperty("firstName")
    @NotBlank(message = "firstName不能为空")
    private String firstName;

    @ApiModelProperty("lastName")
    @NotBlank(message = "lastName不能为空")
    private String lastName;

    @ApiModelProperty("支付金额")
    @NotBlank(message = "支付金额不能为空")
    private BigDecimal amount;
}
